{template '_header'}
<style>
    #file-avatar {
        opacity: 0;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        z-index: 9;
        background: red;
        width: 100%;
    }
    .fui-list-media img{
        border-radius: 50%;
    }
    .fui-list-media{
        margin-right: 0;
    }
    .fui-cell-group .fui-cell  .fui-cell-remark.down:after {
        -webkit-transform: rotate(135deg);
        -ms-transform: rotate(135deg);
        transform: rotate(135deg);
        top:-.1rem;
    }
</style>

<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.2"></script>
<div class='fui-page  fui-page-current'>
    <div class="fui-header">
        <div class="fui-header-left">
            <a class="back" onclick='location.back()'></a>
        </div>
        <div class="title">我的身份</div>
        <div class="fui-header-right">&nbsp;</div>
    </div>
    <div class='fui-content'>
        <form action="{php echo mobileUrl('identity/member/myIdentity')}" method="post" enctype="multipart/form-data">

        
        <div class="fui-cell-group">
            <div class="fui-cell must ">
                <div class="fui-cell-label ">身份名称</div>
                <div class="fui-cell-info"><input type="text" class='fui-input' id='title' data-wechat="{$identity['user_name']}" disabled name="title" value="{if empty($identity['identity'])}默认身份{else}{$identity['identity']} {if $identity['status'] == 0}(待审核){elseif $identity['status']==1}(使用中){elseif $identity['status'] == 2}(已过期){elseif $identity['status'] == 3}(停用){/if}{/if}" /></div>
            </div>
        </div>

             
        <div class="fui-cell-group">
            <div class="fui-cell must ">
                <div class="fui-cell-label ">用户昵称</div>
                <div class="fui-cell-info c000"><input type="text" class='fui-input' id='user_name' name='user_name'   value="{$identity['user_name']}" disabled/></div>
            </div>

            <!-- {if !empty($identity['member_level'])}
            <div class="fui-cell must">
                <div class="fui-cell-label">会员等级</div>
                <div class="fui-cell-info c000"><input type="text" class='fui-input' id='shop_user_grade' name='shop_user_grade' value="{$identity['member_level']}" disabled/></div>
            </div>
            {/if}
            {if !empty($identity['end_member_level'])}
            <div class="fui-cell">
                <div class="fui-cell-label">到期会员等级</div>
                <div class="fui-cell-info c000"><input type="text"  class='fui-input'  id='end_shop_user_grade' name='end_shop_user_grade' value="{$identity['end_member_level']}" disabled/></div>
            </div>
            {/if}
            

            {if !empty($identity['distribution_level'])}
            <div class="fui-cell must">
                <div class="fui-cell-label">分销等级</div>
                <div class="fui-cell-info c000"><input type="text" class='fui-input' id='distribution_grade' name='distribution_grade' value="{$identity['distribution_level']}" disabled/></div>
            </div>
            {/if}
            {if !empty($identity['end_distribution_level'])}
            <div class="fui-cell">
                <div class="fui-cell-label">到期分销等级</div>
                <div class="fui-cell-info c000"><input type="text"  class='fui-input'  id='end_distribution_grade' name='end_distribution_grade'  value="{$identity['end_distribution_level']}" disabled/></div>
            </div>
            {/if}

            {if !empty($identity['mendian_level'])}
            <div class="fui-cell must">
                <div class="fui-cell-label">门店等级</div>
                <div class="fui-cell-info c000"><input type="text" class='fui-input' id='mendian_level' name='mendian_level' value="{$identity['mendian_level']}" disabled/></div>
            </div>
            {/if}
            {if !empty($identity['end_mendian_level'])}
            <div class="fui-cell">
                <div class="fui-cell-label">到期门店等级</div>
                <div class="fui-cell-info c000"><input type="text"  class='fui-input'  id='end_mendian_level' name='end_mendian_level'  value="{$identity['end_mendian_level']}" disabled/></div>
            </div>
            {/if}

            {if !empty($identity['merch_level'])}
            <div class="fui-cell must">
                <div class="fui-cell-label">多商户等级</div>
                <div class="fui-cell-info c000"><input type="text" class='fui-input' id='merch_level' name='merch_level' value="{$identity['merch_level']}" disabled/></div>
            </div>
            {/if}
            {if !empty($identity['end_merch_level'])}
            <div class="fui-cell">
                <div class="fui-cell-label">到期多商户等级</div>
                <div class="fui-cell-info c000"><input type="text"  class='fui-input'  id='end_merch_level' name='end_merch_level'  value="{$identity['end_merch_level']}" disabled/></div>
            </div>
            {/if}

            {if !empty($identity['abonus_level'])}
            <div class="fui-cell must">
                <div class="fui-cell-label">区域代理等级</div>
                <div class="fui-cell-info c000"><input type="text" class='fui-input' id='abonus_level' name='abonus_level' value="{$identity['abonus_level']}" disabled/></div>
            </div>
            {/if}
            {if !empty($identity['end_abonus_level'])}
            <div class="fui-cell">
                <div class="fui-cell-label">到期区域代理等级</div>
                <div class="fui-cell-info c000"><input type="text"  class='fui-input'  id='end_abonus_level' name='end_abonus_level'  value="{$identity['end_abonus_level']}" disabled/></div>
            </div>
            {/if}

            {if !empty($identity['globonus_level'])}
            <div class="fui-cell must">
                <div class="fui-cell-label">全民股东等级</div>
                <div class="fui-cell-info c000"><input type="text" class='fui-input' id='globonus_level' name='globonus_level' value="{$identity['globonus_level']}" disabled/></div>
            </div>
            {/if}
            {if !empty($identity['end_globonus_level'])}
            <div class="fui-cell">
                <div class="fui-cell-label">到期全民股东等级</div>
                <div class="fui-cell-info c000"><input type="text"  class='fui-input'  id='end_globonus_level' name='end_globonus_level'  value="{$identity['end_globonus_level']}" disabled/></div>
            </div>
            {/if} -->
        </div>

        {if !empty($identity['identity'])}
        <div class="fui-cell-group">
            <div class="fui-cell must ">
                <div class="fui-cell-label ">开始时间</div>
                <div class="fui-cell-info"><input type="text" class='fui-input' id='title' data-wechat="{$identity['start_time']}" disabled name="title" value="{$identity['start_time']}" /></div>
            </div>
            <div class="fui-cell must ">
                <div class="fui-cell-label ">到期时间</div>
                <div class="fui-cell-info"><input type="text" class='fui-input' id='title' data-wechat="{$identity['end_time']}" disabled name="title" value="{$identity['end_time']}" /></div>
            </div>
        </div>
        {/if}

        <div class="fui-cell-group">
            <div class="fui-cell must ">
                <div class="fui-cell-label ">身份协议</div>
                <div class="fui-cell-info"><textarea disabled>{$identity_level['grade_agreement']}</textarea></div>
            </div>
        </div>

        
        {if !empty($identity['identity'])}
        <a href="{php echo mobileUrl('identity/order', array('goods_id' => $identity_level['buy_goods_id']))}" id='btn-submit' class='btn btn-danger block mtop'>续费</a>
        {else}
        <a href="{php echo mobileUrl('identity/order')}" id='btn-submit' class='btn btn-danger block mtop'>身份升级</a>
        {/if}
        <!-- <button type="submit" class='btn btn-danger block mtop' name="id" value="{$identity['id']}" style="width:94%;">确认</button> -->
        </form>
    </div>



</div>
{template '_footer'}



<!--NDAwMDA5NzgyNw==-->